package com.lframework.starter.web.inner.service.system;

import com.lframework.starter.web.core.service.BaseMpService;
import com.lframework.starter.web.inner.entity.SysDataPermissionData;

import java.util.List;

public interface SysDataPermissionDataService extends
        BaseMpService<SysDataPermissionData> {

    /**
     * 根据业务ID查询
     *
     * @param bizId
     * @return
     */
    List<SysDataPermissionData> getByBizId(String bizId);

    /**
     * 根据业务ID查询
     *
     * @param bizId
     * @param bizType
     * @return
     */
    SysDataPermissionData getByBizId(String bizId, Integer bizType, Integer permissionType);
}
